<script type="text/javascript" src="jquery-1.8.2.min.js"></script>

<script type="text/javascript">
  $(document).ready(function(){
    $('#clickId').click(function(){
    
    var clickId = $(this).attr('id');// get attribute
    alert(clickId );
    
      $('option').each(function(i,j){
        //alert(j.value)      
        //alert($('option:eq('+i+')').html())      
        if(j.value == 'np'){
          $('option:eq('+i+')').attr('selected','true'); 
        }
      });

       
    });
  });
</script>  

<span id="clickId" style="cursor:pointer;color:blue;">
click here to check the checkbox
</span>

<select id="countryId">
  <option value="in">India</option>
  <option value="pk">pakistan</option>
  <option value="np">Nepal</option>
  <option value="bn">banglaDesh</option>
  <option value="ch">China</option>
</select>